class Car():
  def __init__(self, maker, model, year):
    self.maker = maker
    self.model = model
    self.year = year
    self.meter = "0"
  
  def showInfo(self):
    print ('这是一台' + self.year + '由' + self.maker + '生产的车, 型号为' + self.model + ', 已行驶里程' + self.meter + '米.')
  
  def updateMeter(self, meter):
    self.meter = meter

Audi = Car('Audi', 'A6L', '2016')
Audi.showInfo()
# 这是一台2016由Audi生产的车, 型号为A6L, 已行驶里程0米.

# 调用更新函数来更新默认值
Audi.updateMeter('1200')
Audi.showInfo()
# 这是一台2016由Audi生产的车, 型号为A6L, 已行驶里程1200米.

